#pragma once

#include "ScriptCompiler/AST/ASTNode.h"

class CScriptToken;
class CExpressionNode;

class CEnumValueNode : public CASTNode
{
public:
    CEnumValueNode(std::weak_ptr<CScriptFileContext> InFile)
        : CASTNode( InFile,EASTNodeType::EnumValue)
    {
    }

    std::shared_ptr<CScriptToken> Name;

    std::shared_ptr<CExpressionNode> Value;

    virtual void DebugPrint(int32_t InDepth) override;

    virtual std::shared_ptr<CScriptToken> GetFirstToken() override { return Name; }
};